//
//  ChannelCell.m
//  AriseSamePro
//
//  Created by 包日守 on 15/10/23.
//  Copyright © 2015年 Arise. All rights reserved.
//

#import "ChannelCell.h"
#import "UIImageView+AFNetworking.h"

@implementation ChannelCell

- (void) setChannel:(ARChannelModel *)channel
{

    self.titleLabel.text = channel.name;
    self.subTitleLabel.text = [NSString stringWithFormat:@"已产生%@条内容",channel.times];
    [self.iconImageView setImageWithURL:[NSURL URLWithString:channel.icon]];
    [self.cateImageView setImage:[UIImage imageNamed:[NSString stringWithFormat:@"type_icon%@.png",channel.cate]]];
    
    
    self.selectionStyle = UITableViewCellSelectionStyleNone;


}


@end
